/* 登录页面 */



import Login from '@/views/Login'
/* 引入 登录 注册 忘记密码 子路由 */
import LoginCont from '@/components/Login/LoginCont.vue'
import Register from '@/components/Login/Register.vue'
import ForgetPassword from '@/components/Login/ForgetPassword.vue'


export default {
    path: '/login',
    name: 'login',
    component: Login,
    redirect: '/login/logincont',
    children: [
        /* 登录路由 */
        {
            path: 'logincont',
            name: 'logincont',
            component: LoginCont,
        },
        /* 注册路由 */
        {
            path: 'register',
            name: 'register',
            component: Register,
        },
        /* 忘记密码路由 */
        {
            path: 'forgetPassword',
            name: 'forgetPassword',
            component: ForgetPassword,
        },
    ]
}